ReserveSectionID
Document Shell
Mac OSThe
ReserveSectionID
method reserves a section ID for the lifetime of the document of the specified draft.
ODBoolean ReserveSectionID (in ODULong sectionID, in ODDraft draft);
sectionID
- The section ID to be reserved.
draft
- A reference to the draft in which to reserve the section ID.
- return value
kODTrue
if the specified section ID is not in use and not already reserved, otherwisekODFalse
.DISCUSSION
This method guarantees that the specified section ID will not be issued by theNewSectionID
method for the lifetime of the document. If this method returns false, the caller should request a different ID or call theNewSectionID
method.SEE ALSO
TheODLinkManager::NewSectionID
method (page 368).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help